import axios from "axios";
 axios.defaults.withCredentials=true;//是否允许携带token
export function Service(config){
  const instance=axios.create({
    // timeout:10000,
    baseURL:"http://dev-api-act.xiujiadian.com",
    headers:{
      "Content-Type":"application/json"
    }
  })
  return instance(config)
}